package tech.aistar.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.client.elc.ElasticsearchTemplate;
import org.springframework.data.elasticsearch.core.SearchHit;
import tech.aistar.pojo.SongListIndex;
import tech.aistar.pojo.dao.SongListIndexRepository;

import java.util.List;

public class SongListIndexServiceImpl implements SongListIndexService{


    private static final Logger log = LoggerFactory.getLogger(SongListIndexServiceImpl.class);
    @Autowired
    private SongListService songListService;

    @Autowired
    private ElasticsearchTemplate elasticsearchTemplate;

    @Autowired
    SongListIndexRepository songListIndexRepository;
    @Override
    public void initIndex() {

    }

    @Override
    public List<SearchHit<SongListIndex>> findBySongTitleOrLyricsOrSingerName(String songTitle, String lyrics, String singerName) {
        return null;
    }
}
